package com.qidian.service;


import com.qidian.common.Result;
import com.qidian.pojo.Student;

public interface StudentService {
    /**
     * 注册接口
     * @param student
     * @return
     */
    Result registered(Student student);

    /**
     * 登录接口
     * @param student
     * @return
     */
    Result login(Student student);

    /**
     * 注销
     * @param id
     * @return
     */
    Result cancellation(Integer id);

    /**
     * 修改学生信息
     * @param student
     * @return
     */
    Result updateById(Student student);


}
